package com.jr.service.impl;

import com.jr.dao.DetailViewDao;
import com.jr.dao.impl.DetailViewDaoImpl;
import com.jr.entity.DetailView;
import com.jr.service.DetailViewService;

import java.util.List;

/**
 * @Function：
 * @Author 梁明哲
 * @Email 424577090@qq.com
 * @Package com.jr.service.impl
 * @Project invoice
 * @Date 2023-02-26 15:12:51
 */
public class DetailViewServiceImpl implements DetailViewService {
    private DetailViewDao detailViewDao = new DetailViewDaoImpl();

    /**
     * 根据企业id查找视图相关信息
     * @param enterpriseId
     * @return
     * @throws Exception
     */

    @Override
    public List<DetailView> allDetail(Integer enterpriseId) throws Exception {
        return detailViewDao.allDetail(enterpriseId);
    }
}







